﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LINQ查询操作符之Distinct、Union、Concat、Intersect、Except、Skip、Take、SkipWhile、TakeWhile、Single、SingleOrDefault、Reverse、SelectMany.aspx.cs" Inherits="_35newpart_Linq_LINQ查询操作符之Distinct_Union_Concat_Intersect_Except_Skip_Take_SkipWhile_TakeWhile_Single_SingleOrDefault_Reverse_SelectMany" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>LINQ查询操作符之Distinct、Union、Concat、Intersect、Except、Skip、Take、SkipWhile、TakeWhile、Single、SingleOrDefault、Reverse、SelectMany</title>
    <style type="text/css">


.postbody
{
 	padding: 4px;
	margin-bottom: 14px;
	line-height:150%;
}

.postbody a
{
	color: #1D58D1;
}


a
{
	color: #223355;
	text-decoration: none;
}

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <div class="postbody">
            <a href="http://www.cnblogs.com/webabcd/archive/2007/10/29/941007.html" 
                target="_blank">[索引页]</a><a 
                href="http://www.cnblogs.com/Files/webabcd/VS2008.rar"><br />
            [源码下载]<br />
            </a>
            <asp:Label ID="result" runat="server"></asp:Label>
            <br />
            <br />
            <div align="center">
                <font face="Verdana">步步为营VS 2008 + .NET 3.5(6) - 
                LINQ查询操作符之Distinct、Union、Concat、Intersect、Except、Skip、Take、SkipWhile、TakeWhile、Single、SingleOrDefault、Reverse、SelectMany</font></div>
            <br />
            <br />
            作者：<a href="http://webabcd.cnblogs.com/" target="_blank">webabcd</a><br />
            <br />
            <br />
            介绍<br />
            &nbsp;&nbsp;&nbsp; ·Distinct - <font face="Verdana">过滤集合中的相同项；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·Union - <font face="Verdana">连接不同集合，自动过滤相同项；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·Concat - <font face="Verdana">连接不同集合，不会自动过滤相同项；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·Intersect - <font face="Verdana">获取不同集合的相同项（交集）；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·Except - <font face="Verdana">从某集合中删除其与另一个集合中相同的项；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·Skip - <font face="Verdana">跳过集合的前n个元素；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·Take - <font face="Verdana">获取集合的前n个元素；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·SkipWhile - <font face="Verdana">直到某一条件成立就停止跳过；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·TakeWhile - <font face="Verdana">直到某一条件成立就停止获取；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·Single - <font face="Verdana">根据表达式返回集合中的某一元素；<font face="Courier New">不延迟</font></font><br />
            &nbsp;&nbsp;&nbsp; ·SingleOrDefault - <font face="Verdana">根据表达式返回集合中的某一元素（如果没有则返回默认值）；<font 
                face="Courier New">不延迟</font></font><br />
            &nbsp;&nbsp;&nbsp; ·Reverse - <font face="Verdana">对集合反向排序；延迟</font><br />
            &nbsp;&nbsp;&nbsp; ·SelectMany - <font face="Verdana">Select选择（一对多）；延迟</font><br />
            <br />
            <br />
            示例<br />
            <font face="Verdana">Summary2.aspx.cs</font><br />
            <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Data;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Configuration;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Collections;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Linq;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Web;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Web.Security;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Web.UI;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Web.UI.WebControls;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Web.UI.WebControls.WebParts;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Web.UI.HtmlControls;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Xml.Linq;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;System.Collections.Generic;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;DAL;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span><span 
                    style="COLOR: #0000ff">public</span><span style="COLOR: #000000">&nbsp;partial&nbsp;</span><span 
                    style="COLOR: #0000ff">class</span><span style="COLOR: #000000">&nbsp;LINQ_Summary2&nbsp;:&nbsp;System.Web.UI.Page<br />
                <img id="Codehighlighter1_407_1646_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_407_1646_Open_Text.style.display='none'; Codehighlighter1_407_1646_Closed_Image.style.display='inline'; Codehighlighter1_407_1646_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_407_1646_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_407_1646_Closed_Text.style.display='none'; Codehighlighter1_407_1646_Open_Image.style.display='inline'; Codehighlighter1_407_1646_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /></span><span 
                    id="Codehighlighter1_407_1646_Closed_Text" 
                    style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_407_1646_Open_Text"><span style="COLOR: #000000">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;NorthwindDataContext&nbsp;_ctx&nbsp;=&nbsp;</span><span 
                    style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&nbsp;NorthwindDataContext();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #0000ff">string</span><span style="COLOR: #000000">[]&nbsp;_ary&nbsp;=&nbsp;</span><span 
                    style="COLOR: #0000ff">null</span><span style="COLOR: #000000">;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #0000ff">protected</span><span style="COLOR: #000000">&nbsp;</span><span 
                    style="COLOR: #0000ff">void</span><span style="COLOR: #000000">&nbsp;Page_Load(</span><span 
                    style="COLOR: #0000ff">object</span><span style="COLOR: #000000">&nbsp;sender,&nbsp;EventArgs&nbsp;e)<br />
                <img id="Codehighlighter1_557_1644_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_557_1644_Open_Text.style.display='none'; Codehighlighter1_557_1644_Closed_Image.style.display='inline'; Codehighlighter1_557_1644_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_557_1644_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_557_1644_Closed_Text.style.display='none'; Codehighlighter1_557_1644_Open_Image.style.display='inline'; Codehighlighter1_557_1644_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_557_1644_Closed_Text" 
                    style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_557_1644_Open_Text"><span style="COLOR: #000000">{<br />
                <img id="Codehighlighter1_587_812_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_587_812_Open_Text.style.display='none'; Codehighlighter1_587_812_Closed_Image.style.display='inline'; Codehighlighter1_587_812_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_587_812_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_587_812_Closed_Text.style.display='none'; Codehighlighter1_587_812_Open_Image.style.display='inline'; Codehighlighter1_587_812_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_ary&nbsp;=&nbsp;</span><span 
                    style="COLOR: #0000ff">new</span><span style="COLOR: #000000">&nbsp;</span><span 
                    style="COLOR: #0000ff">string</span><span style="COLOR: #000000">[]&nbsp;</span><span 
                    id="Codehighlighter1_587_812_Closed_Text" 
                    style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_587_812_Open_Text"><span style="COLOR: #000000">{&nbsp;&quot;asp.net&quot;,&nbsp;&quot;csharp&quot;,&nbsp;&quot;xhtml&quot;,&nbsp;&quot;css&quot;,&nbsp;&quot;javascript&quot;,&nbsp;&quot;wcf&quot;,&nbsp;&quot;wpf&quot;,&nbsp;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;asp.net&quot;,&nbsp;&quot;csharp&quot;,&nbsp;&quot;xhtml&quot;,&nbsp;&quot;css&quot;,&nbsp;&quot;javascript&quot;,&nbsp;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;silverlight&quot;,&nbsp;&quot;linq&quot;,&nbsp;&quot;wf&quot;,&nbsp;&quot;sqlserver&quot;,&nbsp;&quot;asp.net&nbsp;ajax&quot;,&nbsp;&quot;ssis&quot;,&nbsp;&quot;ssas&quot;,&nbsp;&quot;ssrs&quot;&nbsp;}</span></span><span 
                    style="COLOR: #000000">;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;Distinct&nbsp;-&nbsp;过滤集合中的相同项；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_Distinct();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;Union&nbsp;-&nbsp;连接不同集合，自动过滤相同项；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_Union();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;Concat&nbsp;-&nbsp;连接不同集合，不会自动过滤相同项；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_Concat();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;Intersect&nbsp;-&nbsp;获取不同集合的相同项（交集）；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_Intersect();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;Except&nbsp;-&nbsp;从某集合中删除其与另一个集合中相同的项；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_Except();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;Skip&nbsp;-&nbsp;跳过集合的前n个元素；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Take&nbsp;-&nbsp;获取集合的前n个元素；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_Skip_Take();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;SkipWhile&nbsp;-&nbsp;直到某一条件成立就停止跳过；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;TakeWhile&nbsp;-&nbsp;直到某一条件成立就停止获取；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_SkipWhile_TakeWhile();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;Single&nbsp;-&nbsp;根据表达式返回集合中的某一元素；不延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;SingleOrDefault&nbsp;-&nbsp;根据表达式返回集合中的某一元素（如果没有则返回默认值）；不延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_Single_SingleOrDefault();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;Reverse&nbsp;-&nbsp;对集合反向排序；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_Reverse();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;SelectMany&nbsp;-&nbsp;Select选择（一对多）；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary_SelectMany();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: #000000"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />}</span></span></div>
            <br />
            <font face="Verdana">Distinct - 过滤集合中的相同项；延迟</font><br />
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_68_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_68_Open_Text.style.display='none'; Codehighlighter1_4_68_Closed_Image.style.display='inline'; Codehighlighter1_4_68_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_68_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_68_Closed_Text.style.display='none'; Codehighlighter1_4_68_Open_Image.style.display='inline'; Codehighlighter1_4_68_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_68_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_68_Open_Text"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;Distinct&nbsp;-&nbsp;过滤集合中的相同项；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_Distinct()<br />
                <img id="Codehighlighter1_101_321_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_101_321_Open_Text.style.display='none'; Codehighlighter1_101_321_Closed_Image.style.display='inline'; Codehighlighter1_101_321_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_101_321_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_101_321_Closed_Text.style.display='none'; Codehighlighter1_101_321_Open_Image.style.display='inline'; Codehighlighter1_101_321_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_101_321_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_101_321_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Distinct();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_221_277_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_221_277_Open_Text.style.display='none'; Codehighlighter1_221_277_Closed_Image.style.display='inline'; Codehighlighter1_221_277_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_221_277_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_221_277_Closed_Text.style.display='none'; Codehighlighter1_221_277_Open_Image.style.display='inline'; Codehighlighter1_221_277_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_221_277_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_221_277_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span></div>
            <font face="Verdana">运行结果</font><br />
            <font face="Verdana">asp.net<br />
            csharp<br />
            xhtml<br />
            css<br />
            javascript<br />
            wcf<br />
            wpf<br />
            silverlight<br />
            linq<br />
            wf<br />
            sqlserver<br />
            asp.net ajax<br />
            ssis<br />
            ssas<br />
            ssrs</font><br />
            <br />
            <font face="Verdana">Union - 连接不同集合，自动过滤相同项；延迟</font><br />
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_70_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_70_Open_Text.style.display='none'; Codehighlighter1_4_70_Closed_Image.style.display='inline'; Codehighlighter1_4_70_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_70_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_70_Closed_Text.style.display='none'; Codehighlighter1_4_70_Open_Image.style.display='inline'; Codehighlighter1_4_70_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_70_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_70_Open_Text"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;Union&nbsp;-&nbsp;连接不同集合，自动过滤相同项；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_Union()<br />
                <img id="Codehighlighter1_100_402_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_100_402_Open_Text.style.display='none'; Codehighlighter1_100_402_Closed_Image.style.display='inline'; Codehighlighter1_100_402_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_100_402_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_100_402_Closed_Text.style.display='none'; Codehighlighter1_100_402_Open_Image.style.display='inline'; Codehighlighter1_100_402_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_100_402_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_100_402_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Take(3).Union((from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Take(6));<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_302_358_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_302_358_Open_Text.style.display='none'; Codehighlighter1_302_358_Closed_Image.style.display='inline'; Codehighlighter1_302_358_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_302_358_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_302_358_Closed_Text.style.display='none'; Codehighlighter1_302_358_Open_Image.style.display='inline'; Codehighlighter1_302_358_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_302_358_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_302_358_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span></div>
            <font face="Verdana">运行结果</font><br />
            <font face="Verdana">asp.net<br />
            csharp<br />
            xhtml<br />
            css<br />
            javascript<br />
            wcf</font><br />
            <br />
            <font face="Verdana">Concat - 连接不同集合，不会自动过滤相同项；延迟</font><br />
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_73_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_73_Open_Text.style.display='none'; Codehighlighter1_4_73_Closed_Image.style.display='inline'; Codehighlighter1_4_73_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_73_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_73_Closed_Text.style.display='none'; Codehighlighter1_4_73_Open_Image.style.display='inline'; Codehighlighter1_4_73_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_73_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_73_Open_Text"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;Concat&nbsp;-&nbsp;连接不同集合，不会自动过滤相同项；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_Concat()<br />
                <img id="Codehighlighter1_104_408_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_104_408_Open_Text.style.display='none'; Codehighlighter1_104_408_Closed_Image.style.display='inline'; Codehighlighter1_104_408_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_104_408_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_104_408_Closed_Text.style.display='none'; Codehighlighter1_104_408_Open_Image.style.display='inline'; Codehighlighter1_104_408_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_104_408_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_104_408_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Take(3).Concat((from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Take(6));<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_308_364_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_308_364_Open_Text.style.display='none'; Codehighlighter1_308_364_Closed_Image.style.display='inline'; Codehighlighter1_308_364_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_308_364_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_308_364_Closed_Text.style.display='none'; Codehighlighter1_308_364_Open_Image.style.display='inline'; Codehighlighter1_308_364_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_308_364_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_308_364_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div>
            <font face="Verdana">运行结果</font><br />
            <font face="Verdana">asp.net<br />
            csharp<br />
            xhtml<br />
            asp.net<br />
            csharp<br />
            xhtml<br />
            css<br />
            javascript<br />
            wcf<br />
            <br />
            Intersect - 获取不同集合的相同项（交集）；延迟<br />
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_74_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_74_Open_Text.style.display='none'; Codehighlighter1_4_74_Closed_Image.style.display='inline'; Codehighlighter1_4_74_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_74_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_74_Closed_Text.style.display='none'; Codehighlighter1_4_74_Open_Image.style.display='inline'; Codehighlighter1_4_74_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_74_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_74_Open_Text"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;Intersect&nbsp;-&nbsp;获取不同集合的相同项（交集）；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_Intersect()<br />
                <img id="Codehighlighter1_108_426_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_108_426_Open_Text.style.display='none'; Codehighlighter1_108_426_Closed_Image.style.display='inline'; Codehighlighter1_108_426_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_108_426_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_108_426_Closed_Text.style.display='none'; Codehighlighter1_108_426_Open_Image.style.display='inline'; Codehighlighter1_108_426_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_108_426_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_108_426_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Take(3).Intersect((from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Skip(1).Take(3));<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_326_382_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_326_382_Open_Text.style.display='none'; Codehighlighter1_326_382_Closed_Image.style.display='inline'; Codehighlighter1_326_382_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_326_382_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_326_382_Closed_Text.style.display='none'; Codehighlighter1_326_382_Open_Image.style.display='inline'; Codehighlighter1_326_382_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_326_382_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_326_382_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /></span></div>
            运行结果</font><br />
            <font face="Verdana">csharp<br />
            xhtml<br />
            <br />
            Except - 从某集合中删除其与另一个集合中相同的项；延迟<br />
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_76_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_76_Open_Text.style.display='none'; Codehighlighter1_4_76_Closed_Image.style.display='inline'; Codehighlighter1_4_76_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_76_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_76_Closed_Text.style.display='none'; Codehighlighter1_4_76_Open_Image.style.display='inline'; Codehighlighter1_4_76_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_76_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_76_Open_Text"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;Except&nbsp;-&nbsp;从某集合中删除其与另一个集合中相同的项；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_Except()<br />
                <img id="Codehighlighter1_107_419_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_107_419_Open_Text.style.display='none'; Codehighlighter1_107_419_Closed_Image.style.display='inline'; Codehighlighter1_107_419_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_107_419_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_107_419_Closed_Text.style.display='none'; Codehighlighter1_107_419_Open_Image.style.display='inline'; Codehighlighter1_107_419_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_107_419_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_107_419_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Take(3).Except((from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Skip(1).Take(3));<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_319_375_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_319_375_Open_Text.style.display='none'; Codehighlighter1_319_375_Closed_Image.style.display='inline'; Codehighlighter1_319_375_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_319_375_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_319_375_Closed_Text.style.display='none'; Codehighlighter1_319_375_Open_Image.style.display='inline'; Codehighlighter1_319_375_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_319_375_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_319_375_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div>
            运行结果</font><br />
            <font face="Verdana">asp.net</font><br />
            <br />
            <font face="Verdana">Skip - 跳过集合的前n个元素；延迟</font><br />
            <font face="Verdana">Take - 获取集合的前n个元素；延迟</font>
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_94_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_94_Open_Text.style.display='none'; Codehighlighter1_4_94_Closed_Image.style.display='inline'; Codehighlighter1_4_94_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_94_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_94_Closed_Text.style.display='none'; Codehighlighter1_4_94_Open_Image.style.display='inline'; Codehighlighter1_4_94_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_94_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_94_Open_Text"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;Skip&nbsp;-&nbsp;跳过集合的前n个元素；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;Take&nbsp;-&nbsp;获取集合的前n个元素；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_Skip_Take()<br />
                <img id="Codehighlighter1_128_353_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_128_353_Open_Text.style.display='none'; Codehighlighter1_128_353_Closed_Image.style.display='inline'; Codehighlighter1_128_353_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_128_353_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_128_353_Closed_Text.style.display='none'; Codehighlighter1_128_353_Open_Image.style.display='inline'; Codehighlighter1_128_353_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_128_353_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_128_353_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Skip(2).Take(3);<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_253_309_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_253_309_Open_Text.style.display='none'; Codehighlighter1_253_309_Closed_Image.style.display='inline'; Codehighlighter1_253_309_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_253_309_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_253_309_Closed_Text.style.display='none'; Codehighlighter1_253_309_Open_Image.style.display='inline'; Codehighlighter1_253_309_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_253_309_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_253_309_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div>
            <font face="Verdana">运行结果</font><br />
            <font face="Verdana">xhtml<br />
            css<br />
            javascript</font><br />
            <br />
            <font face="Verdana">SkipWhile - 直到某一条件成立就停止跳过；延迟</font><br />
            <font face="Verdana">TakeWhile - 直到某一条件成立就停止获取；延迟</font><br />
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_110_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_110_Open_Text.style.display='none'; Codehighlighter1_4_110_Closed_Image.style.display='inline'; Codehighlighter1_4_110_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_110_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_110_Closed_Text.style.display='none'; Codehighlighter1_4_110_Open_Image.style.display='inline'; Codehighlighter1_4_110_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_110_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_110_Open_Text"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;SkipWhile&nbsp;-&nbsp;直到某一条件成立就停止跳过；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;TakeWhile&nbsp;-&nbsp;直到某一条件成立就停止获取；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_SkipWhile_TakeWhile()<br />
                <img id="Codehighlighter1_154_421_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_154_421_Open_Text.style.display='none'; Codehighlighter1_154_421_Closed_Image.style.display='inline'; Codehighlighter1_154_421_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_154_421_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_154_421_Closed_Text.style.display='none'; Codehighlighter1_154_421_Open_Image.style.display='inline'; Codehighlighter1_154_421_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_154_421_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_154_421_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).SkipWhile(s&nbsp;=&gt;&nbsp;s.Length&nbsp;&lt;&nbsp;8).TakeWhile(s&nbsp;=&gt;&nbsp;s.Length&nbsp;&gt;&nbsp;2);<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_321_377_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_321_377_Open_Text.style.display='none'; Codehighlighter1_321_377_Closed_Image.style.display='inline'; Codehighlighter1_321_377_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_321_377_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_321_377_Closed_Text.style.display='none'; Codehighlighter1_321_377_Open_Image.style.display='inline'; Codehighlighter1_321_377_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_321_377_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_321_377_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div>
            <font face="Verdana">运行结果</font><br />
            <font face="Verdana">javascript<br />
            wcf<br />
            wpf<br />
            asp.net<br />
            csharp<br />
            xhtml<br />
            css<br />
            javascript<br />
            silverlight<br />
            linq</font><br />
            <br />
            <font face="Verdana">Single - 根据表达式返回集合中的某一元素；<font face="Courier New">不延迟</font></font><br />
            <font face="Verdana">SingleOrDefault - 根据表达式返回集合中的某一元素（如果没有则返回默认值）；<font 
                face="Courier New">不延迟</font></font><br />
            <font face="Verdana">
            <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
                <img id="Codehighlighter1_4_131_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_131_Open_Text.style.display='none'; Codehighlighter1_4_131_Closed_Image.style.display='inline'; Codehighlighter1_4_131_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_131_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_131_Closed_Text.style.display='none'; Codehighlighter1_4_131_Open_Image.style.display='inline'; Codehighlighter1_4_131_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_131_Closed_Text" 
                    style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</span><span 
                    id="Codehighlighter1_4_131_Open_Text"><span style="COLOR: #808080">///</span><span 
                    style="COLOR: #008000">&nbsp;</span><span style="COLOR: #808080">&lt;summary&gt;</span><span 
                    style="COLOR: #008000"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #808080">///</span><span style="COLOR: #008000">&nbsp;Single&nbsp;-&nbsp;根据表达式返回集合中的某一元素；不延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #808080">///</span><span style="COLOR: #008000">&nbsp;SingleOrDefault&nbsp;-&nbsp;根据表达式返回集合中的某一元素（如果没有则返回默认值）；不延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #808080">///</span><span style="COLOR: #008000">&nbsp;</span><span 
                    style="COLOR: #808080">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">void</span><span 
                    style="COLOR: #000000">&nbsp;Summary_Single_SingleOrDefault()<br />
                <img id="Codehighlighter1_178_489_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_178_489_Open_Text.style.display='none'; Codehighlighter1_178_489_Closed_Image.style.display='inline'; Codehighlighter1_178_489_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_178_489_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_178_489_Closed_Text.style.display='none'; Codehighlighter1_178_489_Open_Image.style.display='inline'; Codehighlighter1_178_489_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_178_489_Closed_Text" 
                    style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_178_489_Open_Text"><span style="COLOR: #000000">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #0000ff">string</span><span style="COLOR: #000000">&nbsp;s&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: #0000ff">in</span><span style="COLOR: #000000">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Single(a&nbsp;=&gt;&nbsp;a&nbsp;==&nbsp;&quot;silverlight&quot;);<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: #008000">//&nbsp;string&nbsp;s&nbsp;=&nbsp;(from&nbsp;a&nbsp;in&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).SingleOrDefault(a&nbsp;=&gt;&nbsp;a&nbsp;==&nbsp;&quot;xxx&quot;);<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;s&nbsp;==&nbsp;null<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /></span><span 
                    style="COLOR: #000000"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div>
            运行结果<br />
            silverlight</font><br />
            <br />
            <font face="Verdana">Reverse - 对集合反向排序；延迟</font><br />
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_65_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_65_Open_Text.style.display='none'; Codehighlighter1_4_65_Closed_Image.style.display='inline'; Codehighlighter1_4_65_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_65_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_65_Closed_Text.style.display='none'; Codehighlighter1_4_65_Open_Image.style.display='inline'; Codehighlighter1_4_65_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_65_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_65_Open_Text"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;Reverse&nbsp;-&nbsp;对集合反向排序；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_Reverse()<br />
                <img id="Codehighlighter1_97_362_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_97_362_Open_Text.style.display='none'; Codehighlighter1_97_362_Closed_Image.style.display='inline'; Codehighlighter1_97_362_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_97_362_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_97_362_Closed_Text.style.display='none'; Codehighlighter1_97_362_Open_Image.style.display='inline'; Codehighlighter1_97_362_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_97_362_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_97_362_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;orderby&nbsp;a.Length&nbsp;ascending<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).Reverse();<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_262_318_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_262_318_Open_Text.style.display='none'; Codehighlighter1_262_318_Closed_Image.style.display='inline'; Codehighlighter1_262_318_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_262_318_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_262_318_Closed_Text.style.display='none'; Codehighlighter1_262_318_Open_Image.style.display='inline'; Codehighlighter1_262_318_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_262_318_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_262_318_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div>
            <font face="Verdana">运行结果</font><br />
            <font face="Verdana">asp.net ajax<br />
            silverlight<br />
            javascript<br />
            javascript<br />
            sqlserver<br />
            asp.net<br />
            asp.net<br />
            csharp<br />
            csharp<br />
            xhtml<br />
            xhtml<br />
            ssrs<br />
            ssas<br />
            ssis<br />
            linq<br />
            css<br />
            wpf<br />
            wcf<br />
            css<br />
            wf</font><br />
            <br />
            <font face="Verdana">SelectMany - Select选择（一对多）；延迟</font><br />
            <div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)">
                <img id="Codehighlighter1_4_74_Open_Image0" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_74_Open_Text.style.display='none'; Codehighlighter1_4_74_Closed_Image.style.display='inline'; Codehighlighter1_4_74_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_4_74_Closed_Image0" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_4_74_Closed_Text.style.display='none'; Codehighlighter1_4_74_Open_Image.style.display='inline'; Codehighlighter1_4_74_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_4_74_Closed_Text0" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)">/**/</span><span 
                    id="Codehighlighter1_4_74_Open_Text0"><span style="COLOR: rgb(128,128,128)">///</span><span 
                    style="COLOR: rgb(0,128,0)">&nbsp;</span><span style="COLOR: rgb(128,128,128)">&lt;summary&gt;</span><span 
                    style="COLOR: rgb(0,128,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;SelectMany&nbsp;-&nbsp;Select选择（一对多）；延迟<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">///</span><span style="COLOR: rgb(0,128,0)">&nbsp;</span><span 
                    style="COLOR: rgb(128,128,128)">&lt;/summary&gt;</span></span><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" /><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: rgb(0,0,255)">void</span><span 
                    style="COLOR: rgb(0,0,0)">&nbsp;Summary_SelectMany()<br />
                <img id="Codehighlighter1_109_389_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_109_389_Open_Text.style.display='none'; Codehighlighter1_109_389_Closed_Image.style.display='inline'; Codehighlighter1_109_389_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" /><img 
                    id="Codehighlighter1_109_389_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_109_389_Closed_Text.style.display='none'; Codehighlighter1_109_389_Open_Image.style.display='inline'; Codehighlighter1_109_389_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_109_389_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_109_389_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;ary&nbsp;=&nbsp;(from&nbsp;a&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;_ary<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;where&nbsp;a.Contains(&quot;.&quot;)<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select&nbsp;a).SelectMany(a&nbsp;=&gt;&nbsp;a.Split(&#39;.&#39;));<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" /><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">foreach</span><span style="COLOR: rgb(0,0,0)">&nbsp;(</span><span 
                    style="COLOR: rgb(0,0,255)">string</span><span style="COLOR: rgb(0,0,0)">&nbsp;s&nbsp;</span><span 
                    style="COLOR: rgb(0,0,255)">in</span><span style="COLOR: rgb(0,0,0)">&nbsp;ary)<br />
                <img id="Codehighlighter1_289_345_Open_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_289_345_Open_Text.style.display='none'; Codehighlighter1_289_345_Closed_Image.style.display='inline'; Codehighlighter1_289_345_Closed_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img 
                    id="Codehighlighter1_289_345_Closed_Image" align="top" alt="" 
                    onclick="this.style.display='none'; Codehighlighter1_289_345_Closed_Text.style.display='none'; Codehighlighter1_289_345_Open_Image.style.display='inline'; Codehighlighter1_289_345_Open_Text.style.display='inline';" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span 
                    id="Codehighlighter1_289_345_Closed_Text" 
                    style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; DISPLAY: none; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid; BACKGROUND-COLOR: rgb(255,255,255)"><img 
                    alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span 
                    id="Codehighlighter1_289_345_Open_Text"><span style="COLOR: rgb(0,0,0)">{<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;s&nbsp;+&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span 
                    style="COLOR: rgb(0,0,0)"><br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result.InnerHtml&nbsp;+=&nbsp;&quot;&lt;br&nbsp;/&gt;&quot;;<br />
                <img align="top" alt="" 
                    src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div>
            <font face="Verdana">运行结果</font><br />
            <font face="Verdana">asp<br />
            net<br />
            asp<br />
            net<br />
            asp<br />
            net ajax</font><br />
            <br />
            <br />
            OK<br />
            <a href="http://www.cnblogs.com/Files/webabcd/VS2008.rar">[源码下载]</a>
        </div>
    
    </div>
    <script type="text/javascript">
        
        
        
    
    </script>
    </form>
</body>
</html>
